package com.tianji.learning.domain.vo;


import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.time.LocalDate;

@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("noteVo")
@ApiModel(value="NoteVo对象", description="")
public class NoteVo {
    @ApiModelProperty(value = "笔记id")
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty(value = "笔记内容")
    private String content;

    @ApiModelProperty(value = "是否为私密笔记 0否 1是")
    private Boolean isPrivate;

    @ApiModelProperty(value = "笔记记录的时间")
    private Long noteMoment;

    private Long authorId;

    private Boolean isGathered;
    private LocalDate createTime;


    private String authorName;

    private String authorIcon;



}
